package com.saurshaz.test.roo.trading.services;

import java.util.List;
import java.util.Map;
import java.util.Queue;

import com.saurshaz.test.roo.trading.SecurityTrade;
import com.saurshaz.test.roo.trading.bo.FinancialInstrument;
import com.saurshaz.test.roo.trading.controllers.backingforms.SecurityTradeForm;

public interface SecurityTradingService {
	public List<SecurityTrade> getAllSecurities();

	public SecurityTrade createSecurity(SecurityTradeForm securityTradeForm);

	public String getMarketValue(String quantity, String price,
			String tradeTypeId);

	public Map<String, Queue<FinancialInstrument>> updateSecuritiesCollection(
			SecurityTrade securityTrade,
			Map<String, Queue<FinancialInstrument>> mapOfQueues);

	public Map<String, Queue<FinancialInstrument>> getSecuritiesCollection();
}
